package cn.tanglong.user.mapper;

import cn.tanglong.basic.mapper.BaseMapper;
import cn.tanglong.user.domain.Logininfo;
import cn.tanglong.user.dto.LoginDto;

public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByUsernameAndType(LoginDto loginDto);

    Logininfo findByUserId(Long user_id);
}
